﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public static class HoaDonVeBUS
    {
        public static List<HOADON> layDSHoaDonVe()
        {
            return HoaDonVeDAO.layDSHoaDonVe();
        }

        public static int layMaHDLonNhat()
        {
            return HoaDonVeDAO.layMaHDLonNhat();
        }

        public static bool themHoaDon(HOADON hoaDon)
        {
            return HoaDonVeDAO.themHoaDon(hoaDon);
        }

        public static bool capNhatHoaDon(HOADON hoaDon)
        {
            return HoaDonVeDAO.capNhatHoaDon(hoaDon);
        }
    }
}
